using System.Collections.Generic;

namespace Mes.Production.Common
{
    /// <summary>
    /// 通用分页容器
    /// </summary>
    /// <typeparam name="T">分页数据项类型</typeparam>
    public class ApiPaging<T>
    {
        /// <summary>
        /// 当前页数据
        /// </summary>
        public List<T> PageData { get; set; }

        /// <summary>
        /// 总条数
        /// </summary>
        public int TotalCount { get; set; }

        /// <summary>
        /// 总页数
        /// </summary>
        public int TotalPage { get; set; }

        public ApiPaging()
        {
            PageData = new List<T>();
        }
    }
}


